package com.hsnn.medstgmini.settlement.model;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

/**
 * @category 支付单结算单详情 实体类
 * @author 韩守松
 * @date 2015年7月28日
 */
@Entity
@Table(name = "set_payment_detail")
public class SetPaymentDetail {
	private String paymentBillDetailId;// 支付单详情id
	private String paymentBillId;// 支付单id
	private String settlementId;// 结算单id
	private Date createDatetime;// 加入时间
	private String createDatetimeStr;//格式化加入时间
	private String createUser;// 加入人
	
	@Id
	@Column(name = "payment_bill_detail_id")
	public String getPaymentBillDetailId() {
		return paymentBillDetailId;
	}
	public void setPaymentBillDetailId(String paymentBillDetailId) {
		this.paymentBillDetailId = paymentBillDetailId;
	}
	
	
	@Column(name = "payment_bill_id")
	public String getPaymentBillId() {
		return paymentBillId;
	}
	public void setPaymentBillId(String paymentBillId) {
		this.paymentBillId = paymentBillId;
	}
	
	@Column(name = "settlement_id")
	public String getSettlementId() {
		return settlementId;
	}
	public void setSettlementId(String settlementId) {
		this.settlementId = settlementId;
	}
	
	@Column(name = "create_datetime")
	public Date getCreateDatetime() {
		return createDatetime;
	}
	public void setCreateDatetime(Date createDatetime) {
		this.createDatetime = createDatetime;
	}
	
	@Transient
	public String getCreateDatetimeStr() {
		return createDatetimeStr;
	}
	public void setCreateDatetimeStr(String createDatetimeStr) {
		this.createDatetimeStr = createDatetimeStr;
	}
	
	@Column(name = "create_user")
	public String getCreateUser() {
		return createUser;
	}
	public void setCreateUser(String createUser) {
		this.createUser = createUser;
	}
	
}